package com.LY.travels.dao;

import com.LY.travels.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author ASUS
 * 创建时间：2020/8/21 - 11:32
 */
@Mapper
public interface UserDao {
    //根据用户名查询用户
    User findByUsername(String username);

    //注册用户
    void save(User user);
}
